package com.xing.feign;

import com.xing.Utils.Result;
import com.xing.feign.FallbackFactory.RoomFeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author <a href="https://gitee.com/a-tom-is-cry">Xing</a>
 * @Date 2025/3/18 22:01
 * @Description
 */
@FeignClient(value = "conference-back-server", contextId = "RoomFeign", fallbackFactory = RoomFeignFallbackFactory.class)
public interface RoomFeign {
    @GetMapping(value = "/back/liveRoom/getLiveRoomByRoomNumber")
    public Result getLiveRoomByRoomNumber(@RequestParam Long roomNumber);
}
